/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package wizard;

/**
 *
 * @author afspear
 */
public class WizardPlayer extends Player{

    public WizardPlayer(PlayerName name) {
        super(name);
        this.role = PlayerRole.wizard;
    }

    public void hideObject(Objects object)
    {
        object.found(false);
        log.logAction ("hide" ,this.name.toString(), object.getType().toString());
    }

    @Override
    public void tag(Player player)
    {
        player.role = PlayerRole.servant;
        log.logAction("tag" ,this.name.toString(),player.name.toString());
    }

    @Override
    public boolean canBeCaught () {
         return false;
    }




}
